package com.jumi.microservice.dto.admin;

import com.alibaba.excel.annotation.ExcelProperty;
import com.jumi.microservice.common.page.PageDomain;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author wangjingdao
 */
public class OrderGoodsAllResponse extends PageDomain {
    @ApiModelProperty("订单id")
    private Integer id;
    @ApiModelProperty("订单编号")
    private String orderNo;
    @ApiModelProperty("创建时间")
    private String createTime;
    @ApiModelProperty("支付单号")
    private String payNo;
    @ApiModelProperty("支付时间")
    private String payTime;
    @ApiModelProperty("订单状态")
    private byte orderStatus;
    @ApiModelProperty("订单状态字符串")
    private String orderStatusString;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("实际收款")
    private BigDecimal payAmount;
    @ApiModelProperty("商品信息")
    private List<OrderGoodsResponse> orderGoodsResponses;
    @ApiModelProperty("运费")
    private BigDecimal freightFee;
    @ApiModelProperty("购买人id")
    private Long buyerId;
    @ApiModelProperty("支付类型")
    private String payType;
    @ApiModelProperty("买家")
    private UserDetailsResponse user;

    public UserDetailsResponse getUser() {
        return user;
    }

    public void setUser(UserDetailsResponse user) {
        this.user = user;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public Long getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(Long buyerId) {
        this.buyerId = buyerId;
    }

    public BigDecimal getFreightFee() {
        return freightFee;
    }

    public void setFreightFee(BigDecimal freightFee) {
        this.freightFee = freightFee;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getOrderStatusString() {
        return orderStatusString;
    }

    public void setOrderStatusString(String orderStatusString) {
        this.orderStatusString = orderStatusString;
    }

    public byte getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(byte orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getPayNo() {
        return payNo;
    }

    public void setPayNo(String payNo) {
        this.payNo = payNo;
    }

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

    public List<OrderGoodsResponse> getOrderGoodsResponses() {
        return orderGoodsResponses;
    }

    public void setOrderGoodsResponses(List<OrderGoodsResponse> orderGoodsResponses) {
        this.orderGoodsResponses = orderGoodsResponses;
    }
}
